单例设计模式-反射攻击解决方案及原理

继续使用饿汉式代码 public class Test { public static void main(S … 继续阅读单例设计模式-反射攻击解决方案及原理